package com.core.family.admin.domain.req;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

import com.core.common.gen.BaseQuery;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @author honglei
 * @version 1.0
 * @time: 2023-6-14 17:05:08
 * @Description dto对象 联系人
 */
@Data
public class SysContactReq extends BaseQuery implements Serializable {


    /*
     *
     */
    private Integer id;

    /*
     *  组织id
     */
    private Integer orgId;

    /*
     *  用户id
     */
    private Integer userId;

    /*
     *
     */

    private String provinceName;

    /*
     *
     */
    private Integer provinceCode;

    /*
     *
     */

    private String cityName;

    /*
     *
     */
    private Integer cityCode;

    /*
     *
     */
    private Integer areaCode;

    /*
     *
     */

    private String areaName;

    /*
     *
     */

    private String adress;

    /*
     *  邮编
     */

    private String postalCode;

    /*
     *
     */
    private Integer status;

    /*
     *
     */
    private Integer isDefault;

    /*
     *  姓名
     */

    private String contact;

    /*
     *  电话
     */

    private String phone;

    /*
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /*
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @TableField(value = "longitude")
    private Double  longitude;//` float(18,0) DEFAULT NULL COMMENT '经度',
    @TableField(value = "latitude")
    private Double  latitude;//` float(18,0) DEFAULT NULL COMMENT '维度',

    /*
     *
     */
    private String bizType;

}
